package com.youlai.boot.word.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

@Data

@Document(collection = "word")
public class WordEntity {
    @Id
    private String _id; // MongoDB文档的ID，通常是ObjectId类型
    private String name; //
    private String type; //
    private String chinese; //
    private String book; //
    private String unit; //
    private String number; //
}
